package com.lc.stock.module.compyindustryconcept.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * @author lichen
 * @description 公司指数、行业、概念。
 * @menu
 * @date 2023/2/6 13:55
 */
@Document(collection = "company_industry_concept")
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class CompyIndustryConcept implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String _id;
    //股票代码
    @Indexed
    private String stockCode;
    //行业概念信息
    private List<IndustryConcept> industryConcepts;

}
